import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/standard_risk_mgmt_ctrl_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/standard_risk_mgmt_ctrl_entity.g.dart';

@JsonSerializable()
class StandardRiskMgmtCtrlEntity {

	StandardRiskMgmtCtrlEntity();

	factory StandardRiskMgmtCtrlEntity.fromJson(Map<String, dynamic> json) => $StandardRiskMgmtCtrlEntityFromJson(json);
	List<StandardRiskMgmtCtrlAmendmentList>? amendmentList;
	String? code;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? departmentId;
	String? fileAddressUrl;
	String? id;
	String? relevantDepartments;
	String? reviewedBy;
	int? saveYear;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $StandardRiskMgmtCtrlEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class StandardRiskMgmtCtrlAmendmentList {

	StandardRiskMgmtCtrlAmendmentList();

	factory StandardRiskMgmtCtrlAmendmentList.fromJson(Map<String, dynamic> json) => $StandardRiskMgmtCtrlAmendmentListFromJson(json);
	String? amendmentDate;
	String? amendmentUser;
	String? companyCode;
	String? correlationId;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? fileAddressUrl;
	String? id;
	String? sort;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $StandardRiskMgmtCtrlAmendmentListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
